const mongoose = require('mongoose')
const Schema = mongoose.Schema

const projectInfoSchema = new Schema({
    projectCode : String,
    projectDes : String,
    productModel : Array,
    contacts : String,
    address : String,
    phoneNumber : String,
    deadLine : Date,
    createTime : Date,
    projectStatus : Number,
    statusDes : String
},{
    strict: true,
    versionKey: false
  })

module.exports = {
    projectInfo : mongoose.model('projectInfo',projectInfoSchema)
}